package com.nuoniu.sibanyun.entity.crm.call;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 客户系统-线路管理（资费）
 * </p>
 *
 * @author 白强
 * @since 2022-04-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("crm_call_number_pool")
@ApiModel(value="CrmCallNumberPool对象", description="客户系统-线路管理（资费）")
public class CrmCallNumberPool extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "业务类型 1.少儿教育 2.成人教育 3.催收 4.金融回访 5.非金融")
    @TableField("business_type")
    private String businessType;

    @ApiModelProperty(value = "外显")
    @TableField("external_display")
    private String externalDisplay;

    @ApiModelProperty(value = "外呼时间")
    @TableField("call_time")
    private String callTime;

    @ApiModelProperty(value = "资费（元/分钟）")
    @TableField("call_charges")
    private BigDecimal callCharges;

    @ApiModelProperty(value = "月低费")
    @TableField("monthly_min_charges")
    private String monthlyMinCharges;

    @ApiModelProperty(value = "需要提供的资料")
    @TableField("provide_data")
    private String provideData;

    @ApiModelProperty(value = "并发")
    @TableField("concurrent_str")
    private String concurrentStr;

    @ApiModelProperty(value = "盲区")
    @TableField("blind_area")
    private String blindArea;

    @ApiModelProperty(value = "外呼次数限制")
    @TableField("limit_times")
    private String  limitTimes;

    @ApiModelProperty(value = "备注")
    @TableField("remarks")
    private String remarks;

    @ApiModelProperty(value = "投诉比")
    @TableField(" complaint_ratio")
    private String complaintRatio;

    @ApiModelProperty(value = "创建人")
    @TableField("create_user_id")
    private Integer createUserId;

    @ApiModelProperty(value = "创建人姓名")
    @TableField("create_user_name")
    private String createUserName;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_date")
    private LocalDateTime createDate;


}
